<?php
namespace app\admin\model;
use think\Db;
use app\Mdl;

class Admin extends Mdl
{
    public function test()
    {
        echo '测试后台Model';
    }

    public function check_login($account)
    {
        return Db::name('admin')->where('account', $account)->find();
    }
}
